package cn.zzdt4j.common.extension.enums;

import lombok.Getter;

/**
 * The enum Del enum.
 *
 * @author by <a href="mailto:ligang941012@gmail.com">gang.Li</a>
 * @since 2023 /11/6 20:30
 */
public enum DelEnum {
    NORMAL("0"),
    DELETE("1");

    private final String statusCode;

    DelEnum(String statusCode) {
        this.statusCode = statusCode;
    }

    public Integer getIntCode() {
        return Integer.parseInt(this.statusCode);
    }

    @Override
    public String toString() {
        return statusCode;
    }
}
